]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
style: Stop setting slider height
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 26 Oct 2023 16:56:17 +0000 (18:56 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 21 Nov 2023 18:55:47 +0000 (18:55 +0000)
Now that the slider requests a correct height, it is no longer
necessary to set it explicitly from the stylesheet.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2994>

data/theme/gnome-shell-sass/widgets/_osd.scss
data/theme/gnome-shell-sass/widgets/_quick-settings.scss

index 0d09ffb3cc276d594f7ba2d6790555844aea3a16..3562f16f8049bc57363198fa9868601bf066830a 100644 (file)
@@ -23,7 +23,6 @@ $osd_levelbar_height:6px;
     margin-bottom: 4px;
     &:first-child { margin-bottom: 0px; }
 
-    height: $osd_levelbar_height;
     min-width:$base_icon_size * 10;
     -barlevel-height: $osd_levelbar_height;
     -barlevel-background-color: transparentize($osd_fg_color, if($variant=='light', 0.7, 0.9));
index 9189ac8d1459dd001470a64c320f5127657ae644..723afe7db10df798397ed93a14cc9d451cf4312a 100644 (file)
@@ -84,7 +84,6 @@
 
   .slider-bin {
     &:focus {@include button(focus);}
-    min-height: 16px; // slider size
     padding: $base_padding;
     border-radius: 99px;
   }
 
 .device-subtitle { color: transparentize($fg_color, 0.5); }
 
-.keyboard-brightness-item .slider {
-  min-height: 16px;
-}
-
 .keyboard-brightness-level {
   spacing: $base_padding;